Fedora Networking :: Permission Denied When Sending Packet Using DITG?
Mar 14, 2011
I'm implementing static IPv6 address on two Fedora 13 installed hosts. These two computers are connected using a switch between them and I use D-ITG to generate traffic in the network.I need to send packet from host1 to host2 using this command and I got permission denied
Code:
#./ITGSend -a 2001:db8:c003:111e::3 -T UDP -x recv_log_file -t 30000 -c 32
Connect error in createTransportChan(): Permission denied
I am trying to design an application which violates the DHCP. Specifically the difficulty in writing this application is physically sending the raw packet. I need some documentation on either a library that supports this or where to look for support for raw packet creation. I am not trying to create a raw datagram, that doesn't meet my needs because a raw datagram is still at layer 3 I need to craft a raw layer 2 PDU.
Specifically I want to Send a very specific DHCPDISCOVER Receive a DHCPOFFER and pull apart the offer while never sending a DHCPREQUEST.
Specifically I am pulling apart various options that are sent in the DHCPOFFER. I have a raw DHCPDISCOVER already crafted and the formatted struct sockaddr_ll where I fault is I can't send the damn thing. Getting the file descriptor after calling socket is okay but what now? How would I write to that file descriptor and have it transmit?
Code: int connfd; struct sockaddr_ll bcast; bcast.sll_family = PF_PACKET; ... connfd = socket(PF_PACKET,SOCK_RAW,0); //now what
I run a small home network with a wireless network using Apple airport wireless router. I have two macs and one Linux box (Fedora 13). Everything worked until about a week ago. Now the two macs can communicate with each other, and one of the macs can communicate with the Linux box, but the other can't, which is a bummer because it is a print server.
Pinging from the mac to the linux box gives the error message:
In order to debug a problem, I want to list down as many as possible reasons of a server (SOAP server running on Fedora 10) sneding RST in middle of packet transfer. Please note that in my case, SYN and ACK of initial handshake went through. Server received request from client and started data transfer but then suddenly, server sent RST in between data transfer.
we have a minor issue with time synchronization in proprietary equipment.the client needs to synchronize time with server, but not using NTP.it is not very important so doesn't need to be done often.the problem is that it won't synchronize. I can see the server is sending tcp packet with date&time, but the client ignores it.I suspect the problem is in format (manual specifies there are two possible options like MM: DD: YYYY and so on, but server seems to use some other)Is there an easy way to run some program in Linux Debian, to send that simple packet with correct date?
i have configured mail server with postfix with dovecot with no encryption:When connecting with Thunderbird imap is working fine. when sending email from another domain to this domain again it is fine. but when i want to send mail frommy domain to another it gives me error and this is /var/log/maillog:
I'm sure there is a very trivial solution to my problem but I just can't figure it out due to my lack of knowledge.I want to mount an nfs share share on client1. The share is on server1.The server1 /etc/exportfs has entry: /backup client1 rw,all_squash,no_subtree_ check) The client1 sudo mount works just fine: sudo mount server1:/backup /backup..Can anyone let me know how to mount the nfs whare with options to read/write permissions for a regular user. And then put that mount into /etc/fstab? Should I mount first and then change the ownership of that folder?
I just set up a storage server with NFS sharing. Everything work fine but, when trying to mount the remote partition on my ws, this is the issue: /usr/sbin/start-statd: line 8: /sbin/rpc.statd: Permission denied /usr/sbin/start-statd: line 8: /sbin/rpc.statd: Success mount.nfs: rpc.statd is not running but is required for remote locking. mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
I tried so to mount it locally : mount.nfs: access denied by server while mounting localhost:/var/ftp/pub /mnt I don't think it depends because of the permiss of the directory, and anyway it's 1777.
I wanted to use NFS4 with id mapping. I followed the write up at [URL] and basically have everything working.
The problem is that I cannot write a file unless I have group write permissions. On the server the user has uid = 1000, gid = 1000. On the client the user has uid =1699, gid = 1000. Both have the same user name.
On the client the directory listing properly shows the user name and the group name. If the file on the server is 644, the client cannot write to the file. If it is 664 on the server, then the client can write to the file.
/etc/export on server contains:
Code: /export 172.24.84.0/24(rw,fsid=0,insecure,no_subtree_check,async) /export/myuser 172.24.84.0/24(rw,nohide,insecure,no_subtree_check,async) /etc/fstab on client contains:
I want to access my desktop from my laptop over the internet, after a while I found this [URL] so I followed the instructions "Access your PC over the internet" and "Logging in from another Ubuntu PC". Everything goes well until I try to run the shell script and get this: laptopuser@123.456.7.890's password:
I tried my luck with the passphrase associated with the rsa key, with the password of the laptopuser@laptop and with the password of the desktopuser@desktop but I keep getting Permission Denied (publickey, password).
I have a shared directory on another machine but I can't get it to mount as a samba share. The permission denied doesn't say where/which permission is denied. Is it on the remote on on the local machine? The remote has sharing enabled for the shareddocs directory and after I have mkdir'ed the local mount point I open it's permissions too. The verbose response from mount.cfis looks like this:
mount.cifs kernel mount options: unc=//192.168.1.102shareddocs,domain=WORKGROUP,ver=1,rw ,username=clive,,,,,,,,,,,ip=192.168.1.102,pass=** ****** mount error(13): Permission denied Refer to the mount.cifs( manual page (e.g. man mount.cifs)
I have stipped down the test to the basics and still can't get it to work.I have a file called test.php stored in /usr/share/data/audio (an aliased directory in apache). This file simply contains the code...
Code: <?php fopen('play.xml', 'w') or die("can't open file");;
-xmms does support the "Expensive Hi Fi", wich as i told i've allreday installed and works.
-Xmms doesn't support the "Analog Vu Meter Plugin" for that skin, wich i don't know were to download(i only am able to see the images of it at [url]?content=49220"-3rd picture bellow, left side-the "Sony Vu's").
-The http page refers the skins and the plugin to KDE graphic environment, i'm using GNOME, and i'm not shure that this may make any difference.
-After the exausting net reading, i think...?, that Audacious does support the "Expensive Hi Fi" and the "Analog Vu Meter Plugin".
As i told, i don't give up that easy, and Audacious seems to be some upgrade or evolution of Xmms, and it as that "retro classic" look that i like and can be personalized like Xmms.
So, i've allready installed Audacios, with all the necessary codecs and libraries, and it's working so well as Xmms worked.
But know i'm having another problem :
-To personalize skins in Audacious(...more exausting net reading...), the operation should be so easy as:
-For any skin that we want(*.wal;*.wsz or compressed one's...), download it and copy it into:/users/share/audacious/Skins, wich i've allready tried(such as skins pasted into .xmms), but i get this error message:"Permission denied"!
trouble when I log in the fedora as a normal user(not root) today. When I fill the username and the password press enter key. Then pop up a little window locate at topleft corner. And have one line message : "/usr/bin/xterm : Could not exec /bin/bash : Permission Denied"hen I log in as root, it's ok. And when I open shell and type "su username" then the console print "su: /bin/bash: Permission denied"I have checked the perms of "/bin/bash" , it's 755. And I have tried all things which suggested from articles searched through Google. like change / or /root and other directory's permissions but failed
I have a cgi script that tries to get the IP address of a domain. the Domain is defined in Bind, yet it can not resolve it. I put the domain in the host file and it then gives a Error: unable to create socket - Permission denied
I figure I have to do some code changes to the script but here I would like an explaination as to the error I am getting.
I'm getting error from KVM when i try to create new machine. I have install group Virtualization. From gui virtual-manager (after being asked for root passwd) tried to create new machine. When pressed on 'Finish' got this 'Permission denied' error: Code: Unable to complete install '<class 'libvirt.libvirtError'> internal error Process exited while reading console log output: char device redirected to /dev/pts/3 qemu: could not open disk image /sonik_data/software_archive/CentOS-5.5-x86_64-netinstall.iso: Permission denied
Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/create.py", line 1567, in do_install dom = guest.start_install(False, meter = meter) File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1023, in start_install return self._do_install(consolecb, meter, removeOld, wait) File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1088, in _do_install "install") File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1059, in _create_guest dom = self.conn.createLinux(start_xml, 0) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1277, in createLinux if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self) libvirtError: internal error Process exited while reading console log output: char device redirected to /dev/pts/3 qemu: could not open disk image /sonik_data/software_archive/CentOS-5.5-x86_64-netinstall.iso: Permission denied
It's running as a root, what permissions we are talking about here? I'm running F14, kernel 2.6.35.10-72.fc14.x86_64, libvirtd 0.8.3
I was setting up a Postfix email server, and I was following a basic tutorial here. I successfully installed all the required packaged, and then set up a Virtual user for the mailbox, and Set up a new user with this.
I had Fedora 8 installed in few clients and a server (same server for NFS and NIS), and NIS and NFS configured, and was working fine. Yesterday, I upgraded few client computers to Fedora 15 (server is still same), and configured NFS and NIS client. NFS is working fine, I can see home directories.
For NIS: ypwhich, ypcat passwd gives me correct uutput, ypbind is running. The problem is, I can't login to NIS client. The error is: Permission denied, please try again. My nssswitch.conf is
I wanted to install Matlab2011 in fedora15 and i receive this following: Preparing installation files Installing ./install: line 589: /tmp/mathworks_2110/java/jre/glnxa64/jre/bin/java: Permission denied Finished. I think the problem was Java, but I updated java and still is not working.
This is weird, today I updated my system and while trying to visudo from single user mode got
"cannot read /etc/shadow: Permission denied"
which kept me from doing anything until I switched to file permissions of 400 on shadow, then back. Is this being experienced by anyone else or just me? /etc/security/limits.conf doesn't seem like it wants to change in enforcing mode either and I can't find any alerts to provide clues on the situation.
I have a cron backup scheme in which I rsync, then tar, then copy files on my internal hard drives to an external (USB) drive. When it works, it works. But I often get a "Permission Denied" message for all of these tasks. how the external drive is auto-mounted so I edited the etc/fstab so that the owner of the cron job is also the owner of the external drive (I think. Unfortunately, I'm not at that machine right now (it's at work), I can't give the exact fstab line (I will post it as an update to this thread next time I am at the machine).) BUT, I still get times when the cron backup runs fine and other times I get the Permission Denied. This is a shared machine that is dual-booted, so what I *think* is going on is that when the machine is rebooted to Fedora, but nobody logs in, I get a Permission Denied for the cron backup. It seems like on days when someone has logged in as the main user and left without logging out that the cron backup runs fine.
I'm running Fedora 14, with a SATA interface CD/DVD drive and I'm attempting to run an installation script on a CD for an embedded Linux learning kit.Logged in as root (su), I receive:bash : /media/EmbeddedLinux/install_tools Permission DeniedI have searched and see similar situations on the web, but not exactly the same.I cannot resolve this issue using chmod, and find no relevant exec rights set in /etc/fstab.Using mount I find the (automounted) CD drive on /dev/sr0.I've searched quite a bit but never could find the thread that was supposedly listed in this forum.I understand that I should be able to copy the contents of the folder to my machine, then execute, but if possible I would prefer to address the real cause, not go around it.Also, where on earth will I find the location of whatever is affecting the ability to execute from an automounted media?
I setup a Samba share and I cannot connect. I can mount in on local host but when I CD to the folder I mounted the share on I get access denied when I run ls.